﻿namespace exnet.Explorer
{
    public class Folder
    {
        public string _fullname = "";

        public Folder(string fullname)
        {
            _fullname = fullname;
        }

        public string Name
        {
            get
            {
                char[] delimiters = { '/', '\\' };
                string[] words = _fullname.Split(delimiters, System.StringSplitOptions.RemoveEmptyEntries);
                return words[words.Length - 1];
            }
        }
    }
}
